package com.aizhixin.lab.post.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity(name = "p_post")
public class Post {
    @Column(name = "id")
    @Id
    private String id;
    @Column(name = "post_name")
    private String postName;
    @Column(name = "business_id")
    private String businessId;
    @Column(name = "post_desc")
    private String postDesc;
    @Column(name = "post_cover_url")
    private String postCoverUrl;
    @Column(name = "post_cover_url_name")
    private String postCoverUrlName;
    @Column(name = "post_data_image")
    private String postDataImage;
    @Column(name = "post_data_image2")
    private String postDataImage2;
    @Column(name = "post_data_image3")
    private String postDataImage3;
    @Column(name = "post_data_image4")
    private String postDataImage4;
    @Column(name = "post_data_image_name")
    private String postDataImageName;
    @Column(name = "post_data_image2_name")
    private String postDataImage2Name;
    @Column(name = "post_data_image3_name")
    private String postDataImage3Name;
    @Column(name = "post_data_image4_name")
    private String postDataImage4Name;
    @Column(name = "recruit_link")
    private String recruitLink;
    @Column(name = "delete_flag")
    private Integer deleteFlag;
    @Column(name = "post_status")
    private Integer postStatus;
    @Column(name = "post_level")
    private Integer postLevel;
    @Column(name = "post_type")
    private Integer postType;
    @Column(name = "created_date")
    private Date createdDate;
    @Column(name = "responsibility")
    private String responsibility;
    @Column(name = "transferability")
    private String transferability;
    @Column(name = "post_direction_image")
    private String postDirectionImage;
    @Column(name = "post_direction_image_name")
    private String postDirectionImageName;
}
